py_sources = files('fstring.py')

str_format_lib = static_library(
    'str_format',
    code_gen.process(py_sources),
    include_directories: inc_dir,
    dependencies: [mcpy_dep, gtest_dep],
    install: false,
)

str_format_dep = declare_dependency(
    link_with: str_format_lib,
    dependencies: [mcpy_dep, gtest_dep],
)